// Classic array traverser

// in c/c++ ,it is necessary to pay attention to the array not exceeding the bounds;


#include <iostream>

using namespace std;

int main()
{
    int mat[2][3] = {{11,12,13},{14,15,16}};
    
    int rows = 2;
    int cols = 3;
    
    for (int r = 0 ; r < rows ;r++)
    {   
        for (int c = 0 ; c < cols ; c++)
            cout << mat[r][c]<< ",";   
        cout << endl;
    }

return 0;
}
